package io.gitee.macxiang.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;

import io.gitee.macxiang.sql.EntityScanRegistrar;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(EntityScanRegistrar.class)
/** 注解扫描实体类 */
public @interface EntityScan {
    String[] basePackages() default {};
}